import Taro from "@tarojs/taro";

import {View} from '@tarojs/components'
import {AtButton} from "taro-ui";
import './index.scss'
import GlobalFooter from "../../components/global-footer";

/**
 * 主页
 */
export default () => {
  return <View className='index'>
    <View className='at-article__h1 title'>
      MBTI性格测试
    </View>
    <View className='at-article__h2 sub-title'>
      只需要几分钟，轻松测出你的性格
    </View>
    <AtButton type='primary' className='enter-btn' circle onClick={() => {
      Taro.reLaunch({
        url: '/pages/do-question/index'
      })
    }}
    >开始测试</AtButton>
    <GlobalFooter></GlobalFooter>
  </View>
}

